package com.example.system.domain.user.dto;


import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class UserQueryDTO {
    private Integer pageSize;

    private Integer pageNum;

    private Long userId;

    private String nickName;

    public Integer getPageSize() {
        return pageSize != null ? pageSize : 10;
    }

    public Integer getPageNum() {
        return pageNum != null ? pageNum : 1;
    }

}
